<template>
	<view id="live">
		<view class="liveb"  @click="sdqf">
			<view class="live_back"  >
				<text class="iconfont icon-5"></text>
				<text>水费</text>
			</view>
		<view class="live_back" >
			<text class="iconfont icon-fl-dian"></text>
			<text>电费</text>
		</view>
			<view class="live_back" >
				<text class="iconfont icon-ranqi"></text>
				<text>燃气费</text>
			</view>
		
		</view>
	
		<view class="live_ba" @click="wyf">
			<text class="iconfont icon-wuguanfei"></text>
			<text>物业费</text>
		</view>
	</view>
</template>

<script>
	import {reactive,toRefs,watch} from 'vue';
	export default {
	setup(){
		let data = reactive({
			sdqf:()=>{
				console.log(11)
				uni.navigateTo({
					url: './sdqf/dsqf'
				});
			},
			wyf:()=>{
				uni.navigateTo({
					url: "./wuyefei"
				});
			},
		})
		return { ...toRefs(data)}
	}
		
	}
</script>

<style lang="less">
	@import url("~@/static/icon_shenghuo/iconfont.css");

	page {
		padding: 200rpx 75rpx;
		background-color: #E7E7E7;
		box-sizing: border-box;
	}

	#live {
		display: flex;
		flex-wrap: wrap;
         .liveb{
			 display: flex;
			 width: 700rpx;
			 height: 260rpx;
		 }
		 .live_ba{
			 	color: #5b5b5b;
			 	width: 700rpx;
			 	height: 260rpx;
			 	box-sizing: border-box;
			 	display: flex;
			 	flex-direction: column;
			 	text-align: center;
			 	justify-content: center;
			 	margin: 20rpx 0;
			 	background-color: rgba(255, 255, 255, 0.5);
				.iconfont {
					font-size: 100rpx;
					margin-bottom: 20rpx;
				}
				&:hover{
					color: #009;
				}
		 }
		.live_back {
			color: #5b5b5b;
			width: 200rpx;
			height: 260rpx;
			box-sizing: border-box;
			display: flex;
			flex-direction: column;
			text-align: center;
			justify-content: center;
			background-color: rgba(255, 255, 255, 0.5);

			.iconfont {
				font-size: 100rpx;
				margin-bottom: 20rpx;
			}
			&:hover{
				color: #009;
			}
		}
	}
</style>

